package cn.zxf.note.note.review;

import lombok.AllArgsConstructor;

import java.time.temporal.ChronoUnit;

/**
 * Created by zengxf on 2019/4/2.
 */
@AllArgsConstructor
public enum NoteReviewStrategyEnum {

    N01(1, 30, ChronoUnit.MINUTES),
    N02(2, 1, ChronoUnit.DAYS),
    N03(3, 1, ChronoUnit.DAYS),
    N04(4, 2, ChronoUnit.DAYS),
    N05(5, 3, ChronoUnit.DAYS),
    N06(6, 5, ChronoUnit.DAYS),
    N07(7, 8, ChronoUnit.DAYS),
    N08(8, 15, ChronoUnit.DAYS),
    N09(9, 1, ChronoUnit.MONTHS),
    N10(10, 2, ChronoUnit.MONTHS),
    N11(11, 4, ChronoUnit.MONTHS),
    N12(12, 8, ChronoUnit.MONTHS),
    N13(13, 1, ChronoUnit.YEARS),
    N14(14, 6, ChronoUnit.MONTHS),
    ;

    public final int frequency;
    public final int intervalValue;
    public final ChronoUnit intervalUnit;

}
